﻿using System;
using System.Windows.Forms;

using YAMM.PlugIn;

namespace YAMM.PlugInManagement.Menu.MenuBar
{
    class ToolStripCheckableButton : ToolStripMenuItem, IToolStripCheckableButton, IToolStripDropDownButton, IToolStripSplitButton
    {
        public ToolStripCheckableButton()
            : base()
        {
            CheckOnClick = true;                                                
            items = new ToolStripItemCollection(this.DropDown, new ToolStripItem[0]);
        }

        ToolStripItemCollection items;

        public IToolStripItemCollection Items
        {
            get { return items; }
        }

        public Guid Identifier { get; internal set; }
    }
}
